//==============================================================
//		CC2400 interface I/O definitions
	#define	_CC2400_CSn			0		//PE6
	#define	_CC2400_TX			2		//PE4
	#define	_CC2400_RX			3		//PE3
                                                         
//	#define	_CC2400_GIO1		4		//PE2
//	#define	_CC2400_GIO6		1		//PE5
	
	
	#define	_BBUdirection		2		//PH2
	
		
// since channel table is created only the first odd and even channels need to be defined
#define	_CC2400_RFchannel0 		2094 + 0	+ 0
#define	_CC2400_RFchannel1 		2094 + 2	+ 0
#define	_CC2400_RFchannel2 		2094 + 4	+ 0
#define	_CC2400_RFchannel3 		2094 + 6	+ 0
#define	_CC2400_RFchannel4 		2094 + 8	+ 0
#define	_CC2400_RFchannel5 		2094 + 10	+ 0
#define	_CC2400_RFchannel6 		2094 + 12	+ 0
#define	_CC2400_RFchannel7 		2094 + 14	+ 0
#define	_CC2400_RFchannel8 		2094 + 16	+ 0
#define	_CC2400_RFchannel9 		2094 + 18	+ 0
#define	_CC2400_RFchannel10 		2094 + 0	+ 10
#define	_CC2400_RFchannel11 		2094 + 2	+ 10
#define	_CC2400_RFchannel12 		2094 + 4	+ 10
#define	_CC2400_RFchannel13 		2094 + 6	+ 10
#define	_CC2400_RFchannel14 		2094 + 8	+ 10
#define	_CC2400_RFchannel15 		2094 + 10	+ 10
#define	_CC2400_RFchannel16 		2094 + 12	+ 10
#define	_CC2400_RFchannel17 		2094 + 14	+ 10
#define	_CC2400_RFchannel18 		2094 + 16	+ 10
#define	_CC2400_RFchannel19 		2094 + 18	+ 10
#define	_CC2400_RFchannel20 		2094 + 0	+ 20
#define	_CC2400_RFchannel21 		2094 + 2	+ 20
#define	_CC2400_RFchannel22 		2094 + 4	+ 20
#define	_CC2400_RFchannel23 		2094 + 6	+ 20
#define	_CC2400_RFchannel24 		2094 + 8	+ 20
#define	_CC2400_RFchannel25 		2094 + 10	+ 20
#define	_CC2400_RFchannel26 		2094 + 12	+ 20
#define	_CC2400_RFchannel27 		2094 + 14	+ 20
#define	_CC2400_RFchannel28 		2094 + 16	+ 20
#define	_CC2400_RFchannel29 		2094 + 18	+ 20
#define	_CC2400_RFchannel30 		2094 + 0	+ 30
#define	_CC2400_RFchannel31 		2094 + 2	+ 30
#define	_CC2400_RFchannel32 		2094 + 4	+ 30
#define	_CC2400_RFchannel33 		2094 + 6	+ 30
#define	_CC2400_RFchannel34 		2094 + 8	+ 30
#define	_CC2400_RFchannel35 		2094 + 10	+ 30
#define	_CC2400_RFchannel36 		2094 + 12	+ 30
#define	_CC2400_RFchannel37 		2094 + 14	+ 30


                                               
                                                
                                                
#define	_MAIN_regAddr		0x00 				
#define	_FSCTRL_regAddr   	0x01   	
#define	_FSDIV_regAddr		0x02        
#define	_MDMCTRL_regAddr     	0x03        
#define	_AGCCTRL_regAddr     	0x04        
#define	_FREND_regAddr       	0x05        
#define	_RSSI_regAddr        	0x06        
#define	_FREQEST_regAddr     	0x07        
#define	_IOCFG_regAddr       	0x08        
#define	_FSMTC_regAddr      	0x0B 
#define	_RESERVED_regAddr    	0x0C 
#define	_MANAND_regAddr      	0x0D 
#define	_FSMSTATE_regAddr    	0x0E 
#define	_ADCTST_regAddr      	0x0F 
#define	_RXBPFTST_regAddr    	0x10 
#define	_PAMTST_regAddr      	0x11 
#define	_LMTST_regAddr       	0x12 
#define	_MANOR_regAddr       	0x13 
#define	_MDMTST0_regAddr     	0x14 
#define	_MDMTST1_regAddr     	0x15 
#define	_DACTST_regAddr      	0x16 
#define	_AGCTST0_regAddr     	0x17 
#define	_AGCTST1_regAddr     	0x18 
#define	_AGCTST2_regAddr     	0x19 
#define	_FSTST0_regAddr      	0x1A 
#define	_FSTST1_regAddr      	0x1B 
#define	_FSTST2_regAddr      	0x1C 
#define	_FSTST3_regAddr      	0x1D 
#define	_MANFIDL_regAddr     	0x1E 
#define	_MANFIDH_regAddr     	0x1F 
#define	_GRMDM_regAddr       	0x20 
#define	_GRDEC_regAddr      	0x21 
#define	_PKTSTATUS_regAddr   	0x22 
#define	_INT_regAddr        	0x23 
#define	_SYNCL_regAddr       	0x2C 
#define	_SYNCH_regAddr       	0x2D 

#define	_SXOSCON_regAddr 		0x60
#define	_SFSON_regAddr		0x61     
#define	_SRX_regAddr            0x62
#define	_STX_regAddr            0x63
#define	_SRFOFF_regAddr         0x64
#define	_SXOSCOFF_regAddr       0x65
            
#define	_FIFOREG			0x70